package com.ekuaitu.kuaitustaff.bean;

import java.io.Serializable;
import java.util.List;

public class CarOrderBean implements Serializable {


    /**
     * errCode : 0
     * message : 成功
     * attachment : [{"carId":83,"workType":1,"orderId":108789,"distributeType":2,"title":"北汽","taskNameArray":["自动调度"],"createTime":1513052820000,"latitude":39.911549,"longitude":116.460292,"locationName":"北京市海淀区民族大学西路30号","status":0,"isOnline":1,"receiveTime":-28800000,"orderNum":"01513052820123","licenseTag":"京Q1K5Y8","parkName":null,"parkType":null,"brandModel":"北汽EX200","isUserWorkOrder":"0","unReciveTime":526,"mileage":160,"carImg":"1113161","shortName":"调","isBigPic":1,"picColor":{"r":200,"b":200,"g":200}},{"carId":60,"workType":2,"orderId":108802,"distributeType":2,"title":"江淮","taskNameArray":["车辆保养"],"createTime":1513098600000,"latitude":39.91150790822502,"longitude":116.45932432661972,"locationName":"北京市朝阳区永安东里8号-2层","status":0,"isOnline":1,"receiveTime":-28800000,"orderNum":"01513098600022","licenseTag":"京Q8NJ22","parkName":null,"parkType":null,"brandModel":"江淮IEV5","isUserWorkOrder":"0","unReciveTime":526,"mileage":160,"carImg":"1113161","shortName":"养","isBigPic":1,"picColor":{"r":200,"b":200,"g":200}},{"carId":87,"workType":1,"orderId":108817,"distributeType":2,"title":"北汽","taskNameArray":["车辆保养"],"createTime":1513152571000,"latitude":39.910425,"longitude":116.459047,"locationName":"永安东里16号(建外SOHO西区内,京能集团东北52米)","status":0,"isOnline":1,"receiveTime":-28800000,"orderNum":"11513152571495","licenseTag":"京Q0K5Y2","parkName":null,"parkType":null,"brandModel":"北汽EX200","isUserWorkOrder":"0","unReciveTime":550,"mileage":160,"carImg":"1113161","shortName":"养","isBigPic":1,"picColor":{"r":200,"b":200,"g":200}},{"carId":84,"workType":1,"orderId":108823,"distributeType":2,"title":"北汽","taskNameArray":["续航充电"],"createTime":1513249860000,"latitude":39.95888640787988,"longitude":116.32363434461026,"locationName":"北京市海淀区民族大学西路30号","status":0,"isOnline":1,"receiveTime":-28800000,"orderNum":"01513249860005","licenseTag":"京Q1K2Y2","parkName":null,"parkType":null,"brandModel":"北汽EX200","isUserWorkOrder":"0","unReciveTime":526,"mileage":25,"carImg":"1113161","shortName":"充","isBigPic":1,"picColor":{"r":200,"b":200,"g":200}},{"carId":86,"workType":1,"orderId":108824,"distributeType":2,"title":"北汽","taskNameArray":["续航充电"],"createTime":1513249861000,"latitude":39.9882245338,"longitude":116.4782643563,"locationName":"永安东里16号(建外SOHO西区内,京能集团东81米)","status":0,"isOnline":1,"receiveTime":-28800000,"orderNum":"01513249861245","licenseTag":"京Q1K3Y5","parkName":null,"parkType":null,"brandModel":"北汽EX200","isUserWorkOrder":"0","unReciveTime":526,"mileage":30,"carImg":"1113161","shortName":"充","isBigPic":1,"picColor":{"r":200,"b":200,"g":200}},{"carId":82,"workType":1,"orderId":108831,"distributeType":2,"title":"比亚迪","taskNameArray":["自动调度"],"createTime":1513253641000,"latitude":39.934672,"longitude":116.553516,"locationName":"北京市海淀区民族大学西路30号","status":0,"isOnline":1,"receiveTime":-28800000,"orderNum":"01513253641711","licenseTag":"京QR29E9","parkName":null,"parkType":null,"brandModel":"比亚迪E5","isUserWorkOrder":"0","unReciveTime":526,"mileage":160,"carImg":"1113161","shortName":"调","isBigPic":1,"picColor":{"r":200,"b":200,"g":200}},{"carId":92,"workType":1,"orderId":108838,"distributeType":2,"title":"奇瑞","taskNameArray":["自动调度"],"createTime":1513306589000,"latitude":39.9882245338,"longitude":116.4782643563,"locationName":"北京市海淀区民族大学西路30号","status":0,"isOnline":1,"receiveTime":-28800000,"orderNum":"11513306589915","licenseTag":"京QU8H70","parkName":null,"parkType":null,"brandModel":"奇瑞EQ","isUserWorkOrder":"0","unReciveTime":526,"mileage":160,"carImg":"1113161","shortName":"调","isBigPic":1,"picColor":{"r":200,"b":200,"g":200}},{"carId":89,"workType":1,"orderId":108858,"distributeType":2,"title":"奇瑞","taskNameArray":["自动调度"],"createTime":1513332663000,"latitude":39.9116380819,"longitude":116.4604017175,"locationName":"东三环中路39号院-1717(那茉形象(建外SOHO店)东108米)","status":0,"isOnline":1,"receiveTime":-28800000,"orderNum":"01513332663673","licenseTag":"京Q1NL92","parkName":null,"parkType":null,"brandModel":"奇瑞EQ","isUserWorkOrder":"0","unReciveTime":526,"mileage":160,"carImg":"1113161","shortName":"调","isBigPic":1,"picColor":{"r":200,"b":200,"g":200}},{"carId":59,"workType":1,"orderId":109897,"distributeType":2,"title":"比亚迪","taskNameArray":["通讯搭电"],"createTime":1513706700000,"latitude":39.909024829962945,"longitude":116.45508296999549,"locationName":"永安里中街(北标德诚商务中心南237米)","status":0,"isOnline":1,"receiveTime":-28800000,"orderNum":"01513706700005","licenseTag":"京Q3S1F2","parkName":null,"parkType":null,"brandModel":"比亚迪1.0","isUserWorkOrder":"0","unReciveTime":526,"mileage":124,"carImg":"1113161","shortName":"搭","isBigPic":1,"picColor":{"r":200,"b":200,"g":200}},{"carId":88,"workType":1,"orderId":109908,"distributeType":2,"title":"奇瑞","taskNameArray":["自动调度"],"createTime":1513740240000,"latitude":39.911549,"longitude":116.460292,"locationName":"东三环中路39号院-1717(美丽说口腔东北99米)","status":0,"isOnline":1,"receiveTime":-28800000,"orderNum":"01513740240034","licenseTag":"京QY3W79","parkName":null,"parkType":null,"brandModel":"奇瑞EQ","isUserWorkOrder":"0","unReciveTime":526,"mileage":160,"carImg":"1113161","shortName":"调","isBigPic":0,"picColor":{"r":200,"b":200,"g":200}}]
     */

    private int errCode;
    private String message;
    private List<AttachmentBean> attachment;

    public int getErrCode() {
        return errCode;
    }

    public void setErrCode(int errCode) {
        this.errCode = errCode;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public List<AttachmentBean> getAttachment() {
        return attachment;
    }

    public void setAttachment(List<AttachmentBean> attachment) {
        this.attachment = attachment;
    }

    public static class AttachmentBean implements Serializable {
        /**
         * carId : 91
         * workType : 1
         * orderId : 108812
         * distributeType : 2
         * title : 奇瑞
         * taskNameArray : ["临时挪车"]
         * createTime : 1513150361000
         * latitude : 39.910054
         * longitude : 116.459254
         * locationName : 北京市海淀区民族大学西路30号
         * status : 10
         * isOnline : 1
         * receiveTime : 1513150398000
         * orderNum : 11513150361949
         * licenseTag : 京QC92G1
         * parkName : null
         * parkType : null
         * brandModel : 奇瑞EQ
         * isUserWorkOrder : 0
         * unReciveTime : 604560
         * mileage : 160
         * carImg : 1113161
         * shortName : 挪
         * isBigPic : 1
         * picColor : {"g":200,"b":200,"r":200}
         * isOpenCheck : 0
         * androidIcon :
         * volatage : 11.458
         * carStatus
         * Integer
         * 车辆状态（10在线，120工单中）
         * carSupplierId
         * long
         * 车机供应商
         * level:int  层级
         * isAccurate 定位精度//0 不精准 1精准 2 半精准
         */

        private String carId;
        private String workType;
        private String orderId;
        private String distributeType;
        private String title;
        private long createTime;
        private double latitude;
        private double longitude;
        private String locationName;
        private String status;
        private String isOnline;
        private long receiveTime;
        private String orderNum;
        private String licenseTag;
        private String parkName;
        private String parkType;
        private String brandModel;
        private String isUserWorkOrder;
        private String unReciveTime;
        private String mileage;
        private String carImg;
        private String shortName;
        private int isBigPic;
        private PicColorBean picColor;
        private String isOpenCheck;//0:没有开门检查 1：已经开门检查过
        private String androidIcon;
        private String volatage;
        private List<String> taskNameArray;
        private String carStatus;// 车辆状态（10在线，120工单中）
        private String carSupplierId;//车机供应商 (2致信通 4云车智慧)
        private String remark;
        private String preditScore;//预估积分
        private int level;//层级
        private int isAccurate;//0 不精准 1精准 2 半精准
        private String taskType;//22是挪车工单,19是洗车工单
        private int orderIndex;
        private int distributeReason;

        public int getOrderIndex() {
            return orderIndex;
        }

        public void setOrderIndex(int orderIndex) {
            this.orderIndex = orderIndex;
        }

        public int getDistributeReason() {
            return distributeReason;
        }

        public void setDistributeReason(int distributeReason) {
            this.distributeReason = distributeReason;
        }

        public String getTaskType() {
            return taskType;
        }

        public void setTaskType(String taskType) {
            this.taskType = taskType;
        }

        public int getIsAccurate() {
            return isAccurate;
        }

        public void setIsAccurate(int isAccurate) {
            this.isAccurate = isAccurate;
        }

        public int getLevel() {
            return level;
        }

        public void setLevel(int level) {
            this.level = level;
        }

        public String getPreditScore() {
            return preditScore;
        }

        public void setPreditScore(String preditScore) {
            this.preditScore = preditScore;
        }

        public String getRemark() {
            return remark;
        }

        public void setRemark(String remark) {
            this.remark = remark;
        }

        public String getCarStatus() {
            return carStatus;
        }

        public void setCarStatus(String carStatus) {
            this.carStatus = carStatus;
        }

        public String getCarSupplierId() {
            return carSupplierId;
        }

        public void setCarSupplierId(String carSupplierId) {
            this.carSupplierId = carSupplierId;
        }

        public String getCarId() {
            return carId;
        }

        public void setCarId(String carId) {
            this.carId = carId;
        }

        public String getWorkType() {
            return workType;
        }

        public void setWorkType(String workType) {
            this.workType = workType;
        }

        public String getOrderId() {
            return orderId;
        }

        public void setOrderId(String orderId) {
            this.orderId = orderId;
        }

        public String getDistributeType() {
            return distributeType;
        }

        public void setDistributeType(String distributeType) {
            this.distributeType = distributeType;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public long getCreateTime() {
            return createTime;
        }

        public void setCreateTime(long createTime) {
            this.createTime = createTime;
        }

        public double getLatitude() {
            return latitude;
        }

        public void setLatitude(double latitude) {
            this.latitude = latitude;
        }

        public double getLongitude() {
            return longitude;
        }

        public void setLongitude(double longitude) {
            this.longitude = longitude;
        }

        public String getLocationName() {
            return locationName;
        }

        public void setLocationName(String locationName) {
            this.locationName = locationName;
        }

        public String getStatus() {
            return status;
        }

        public void setStatus(String status) {
            this.status = status;
        }

        public String getIsOnline() {
            return isOnline;
        }

        public void setIsOnline(String isOnline) {
            this.isOnline = isOnline;
        }

        public long getReceiveTime() {
            return receiveTime;
        }

        public void setReceiveTime(long receiveTime) {
            this.receiveTime = receiveTime;
        }

        public String getOrderNum() {
            return orderNum;
        }

        public void setOrderNum(String orderNum) {
            this.orderNum = orderNum;
        }

        public String getLicenseTag() {
            return licenseTag;
        }

        public void setLicenseTag(String licenseTag) {
            this.licenseTag = licenseTag;
        }

        public String getParkName() {
            return parkName;
        }

        public void setParkName(String parkName) {
            this.parkName = parkName;
        }

        public String getParkType() {
            return parkType;
        }

        public void setParkType(String parkType) {
            this.parkType = parkType;
        }

        public String getBrandModel() {
            return brandModel;
        }

        public void setBrandModel(String brandModel) {
            this.brandModel = brandModel;
        }

        public String getIsUserWorkOrder() {
            return isUserWorkOrder;
        }

        public void setIsUserWorkOrder(String isUserWorkOrder) {
            this.isUserWorkOrder = isUserWorkOrder;
        }

        public String getUnReciveTime() {
            return unReciveTime;
        }

        public void setUnReciveTime(String unReciveTime) {
            this.unReciveTime = unReciveTime;
        }

        public String getMileage() {
            return mileage;
        }

        public void setMileage(String mileage) {
            this.mileage = mileage;
        }

        public String getCarImg() {
            return carImg;
        }

        public void setCarImg(String carImg) {
            this.carImg = carImg;
        }

        public String getShortName() {
            return shortName;
        }

        public void setShortName(String shortName) {
            this.shortName = shortName;
        }

        public int getIsBigPic() {
            return isBigPic;
        }

        public void setIsBigPic(int isBigPic) {
            this.isBigPic = isBigPic;
        }

        public PicColorBean getPicColor() {
            return picColor;
        }

        public void setPicColor(PicColorBean picColor) {
            this.picColor = picColor;
        }

        public String getIsOpenCheck() {
            return isOpenCheck;
        }

        public void setIsOpenCheck(String isOpenCheck) {
            this.isOpenCheck = isOpenCheck;
        }

        public String getAndroidIcon() {
            return androidIcon;
        }

        public void setAndroidIcon(String androidIcon) {
            this.androidIcon = androidIcon;
        }

        public String getVolatage() {
            return volatage;
        }

        public void setVolatage(String volatage) {
            this.volatage = volatage;
        }

        public List<String> getTaskNameArray() {
            return taskNameArray;
        }

        public void setTaskNameArray(List<String> taskNameArray) {
            this.taskNameArray = taskNameArray;
        }

        public static class PicColorBean implements Serializable {
            /**
             * g : 200
             * b : 200
             * r : 200
             */

            private int g;
            private int b;
            private int r;

            public int getG() {
                return g;
            }

            public void setG(int g) {
                this.g = g;
            }

            public int getB() {
                return b;
            }

            public void setB(int b) {
                this.b = b;
            }

            public int getR() {
                return r;
            }

            public void setR(int r) {
                this.r = r;
            }
        }
    }
}
